package org.example.jd.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @Classname Content
 * @Description TODO
 * @Date 2020/5/20 16:07
 * @Created by 苟晓健
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Content {
    @Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
    private String title;
    private String img;
    private String price;
}
